package com.bw.liuyushan.zhuangao4_weektest2.MVP.Activity;

import android.view.View;
import android.widget.Button;

import com.bw.liuyushan.mvp_lib.View.BaseActivity;
import com.bw.liuyushan.zhuangao4_weektest2.Curve.MyView;
import com.bw.liuyushan.zhuangao4_weektest2.MVP.Contrack.IContrackTest;
import com.bw.liuyushan.zhuangao4_weektest2.MVP.Presenter.BasePresenterTest;
import com.bw.liuyushan.zhuangao4_weektest2.R;

/**
 * ZhuanGao4_WeekTest2
 * file name is : CurveActivity
 * created by Ender on 2021/8/26 14:15.
 * author : 刘雨杉
 * Describe(作用):贝萨尔曲线的Activity 点击按钮生成动画  */
public class CurveActivity extends BaseActivity<BasePresenterTest> implements IContrackTest.C_ViewTest {
    private android.widget.Button btn1;
    private com.bw.liuyushan.zhuangao4_weektest2.Curve.MyView myView;

    @Override
    public int bindLayout() {
        return R.layout.activity_curve;
    }

    @Override
    public void initView() {

        btn1 = (Button) findViewById(R.id.btn1);
        myView = (MyView) findViewById(R.id.myView);
    }

    @Override
    public void initDate() {

    }

    public void show(View view) {
        myView.addImageView();
    }
}
